#ifndef _SHLIST_H_
#define _SHLIST_H_




#include"utili.h"

#define SHListElem_Type int
typedef struct SHListNode {
	SHListElem_Type data;
	struct SHListNode* next;

}SHListNode;
typedef struct SHList {
	SHListNode* first;
	SHListNode* last;
	size_t size;
}SHList;
void SHListInitt(SHList* phead) {
	SHListNode* s = (SHListNode*)malloc(sizeof(SHListNode));
	assert(s!=NULL);
	s->next = NULL;
	phead->first = phead->last = s;
	phead->size = 0;
}
#endif // !_SHLIST_H_

